<?php
defined('_JEXEC') or die;

jimport('joomla.application.component.view');

class WebideViewOptions extends JView {
	
	public function display($tpl = null) {
		//$this->
		$state = $this->get('State');
		$doc = JFactory::getDocument();
		// set page title
		$doc->setTitle('WebIDE - options');
		// load row from table
		$this->items = $this->get('Items');
		// get pagination functions
		$this->page = $this->get('Pagination');
		
		$this->filter_order = $state->get('filter_order', 'name');
		$this->filter_order_Dir = $state->get('filter_order_Dir', 'asc');
		
		parent::display($tpl);
		
		$this->addToolbar();
	}
	protected function addToolbar() {
		JToolBarHelper::title(JText::_('COM_WEBIDE_OPTIONS'), 'contact.png');
		//JToolBarHelper::apply('contact.apply');
		//JToolBarHelper::divider();
		//JToolBarHelper::cancel('contact.cancel');
	}
}
